<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ page import="test1.UserDAO" %>
<%
    request.setCharacterEncoding("UTF-8");
    String userName = request.getParameter("userName");
    UserDAO userDAO = new UserDAO();
    userDAO.deleteUser(userName);
    response.sendRedirect("index.jsp");
%>